package cn.yunhe.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class LogPhoneUtil {
    public static String getCurrentTime(){
        SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return sdf.format(new Date());
    }

    public static void PhoneLog(String type,int num){
        System.out.println("[日志："+getCurrentTime()+"~~~~"+type+"手机的总数量："+num+" ]");
    }

}
